package com.gdip.service;


import com.gdip.common.dtos.ResponseResult;
import com.gdip.dto.UserDTO;
import com.gdip.po.UserPo;
import jakarta.servlet.http.HttpSession;

import java.util.List;

public interface UserService {

    public ResponseResult register(UserDTO userDTO);

    ResponseResult login(UserDTO userDTO, HttpSession session);

    ResponseResult getUserByLike(String username);

    ResponseResult set_permissions(List<UserPo> list);
    ResponseResult getSchoolClassById(int id);

    ResponseResult getUserData(Integer userId);

    ResponseResult getRoles();

    ResponseResult searchRoles(String username, String role);

    ResponseResult updateRole(UserDTO userDTO);
}
